package com.ybt.communicate.ws.configration;

import com.ybt.communicate.core.configration.IProtocolConfig;

public class WSProtocolConfig implements IProtocolConfig<WSBaseConfig> {
    private String protocolId;
    private String protocolType;
    
    private String protocolMode;
    private String IODirection;
    private boolean serverSide;
    private WSBaseConfig commonConfig;
    private WSBaseConfig reqConfig;
    private WSBaseConfig respConfig;
    
    
    public WSProtocolConfig(){
    }
    public WSProtocolConfig(String protocolType){
        this.protocolType = protocolType;
    }
    public String getProtocolId() {
        // TODO Auto-generated method stub
        return protocolId;
    }

    public String getProtocolType() {
        // TODO Auto-generated method stub
        return protocolType;
    }

    public String getProtocolMode() {
        // TODO Auto-generated method stub
        return protocolMode;
    }

    public void setProtocolMode(String mode) {
        // TODO Auto-generated method stub
        this.protocolMode = mode;
    }

    public String getIODirection() {
        return IODirection;
    }

    public void setIODirection(String direction) {
        IODirection = direction;
    }

    public boolean isServerSide() {
        return serverSide;
    }

    public void setServerSide(boolean serverSide) {
        this.serverSide = serverSide;
    }

    public WSBaseConfig getCommonConfig() {
        // TODO Auto-generated method stub
        return commonConfig;
    }

    public WSBaseConfig getReqConfig() {
        // TODO Auto-generated method stub
        return reqConfig;
    }

    public WSBaseConfig getRespConfig() {
        // TODO Auto-generated method stub
        return respConfig;
    }

    public void setProtocolId(String protocolId) {
        // TODO Auto-generated method stub
        this.protocolId = protocolId;
    }

    public void setProtocolType(String protocolType) {
        // TODO Auto-generated method stub
        this.protocolType = protocolType;
    }

    public void setCommonConfig(WSBaseConfig commonConfig) {
        // TODO Auto-generated method stub
        this.commonConfig = commonConfig;
    }

    public void setReqConfig(WSBaseConfig reqConfig) {
        // TODO Auto-generated method stub
        this.reqConfig = reqConfig;
    }

    public void setRespConfig(WSBaseConfig respConfig) {
        // TODO Auto-generated method stub
        this.respConfig = respConfig;
    }
    
}
